package com.beiming.libra.dao;

import com.beiming.libra.base.MyMapper;
import com.beiming.libra.domain.ArbitrationCaseUser;
import com.beiming.libra.domain.dto.responsedto.ArbitrationBasicCaseUserResponseDTO;
import com.beiming.libra.domain.dto.responsedto.ArbitrationCaseUserResponseDTO;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 案件关联用户
 *
 * @author zhangqi
 */
public interface ArbitrationCaseUserMapper extends MyMapper<ArbitrationCaseUser> {

  List<ArbitrationCaseUserResponseDTO> getArbitrationCaseUserList(@Param("id") String id);

  List<ArbitrationCaseUserResponseDTO> getArbitrationCaseUserListAll(@Param("id") String id,
      @Param("userType") String[] userType);

  List<ArbitrationBasicCaseUserResponseDTO> getArbitrationCaseBasicUserList(@Param("id") String id);

  List<ArbitrationCaseUserResponseDTO> getArbitrationCaseUserListForType(@Param("id") String id,
      @Param("userType") String[] userType);

  int insertList(List<ArbitrationCaseUser> arbitrationCaseUserList);

  int updateAddUserStatus(@Param("ids") String[] ids);

  int deleteAddUserStatus(@Param("ids") String[] ids);
}